<ul class="nav nav-list">
{volist name="admin_menu" id="v"}						

<li>
	<?php if($v['type']!='auth'){ ?>
		<a href="#" class="dropdown-toggle menu-top">
			<i class="{$v.icon}"></i>
			<span class="menu-text">{$v.title}</span>
			<b class="arrow icon-angle-down"></b>
		</a>
	<?php } ?>
	
	<?php if(isset($v['children'])){ ?>
		<ul class="submenu">
			{foreach name="v['children']"  item="vo"}			
				<?php if(isset($vo['children'])&&$vo['child_floor']==2){ ?>
				<li>	
					 <a href="#" class="dropdown-toggle">		
					 	<i class="icon-double-angle-right"></i>			
						<span class="menu-text">{$vo.title}</span>
						<b class="arrow icon-angle-down"></b>
					</a>
					<ul class="submenu">
						 <?php foreach ($vo['children'] as $k2 => $v2){ ?>
						 	<?php if($v2['type']!='auth'){ ?>
								<li>
									<a href="../{$v2.url}">
										<i class="icon-double-angle-right"></i>
										<span class="url-title">{$v2.title}</span>
									</a>
								</li>
							<?php } ?>
						 <?php } ?>
					 </ul>
				</li>				
				 
			<?php }else{ ?>
				<li>
					<a href="../{$vo.url}">
						<i class="icon-double-angle-right"></i>
						<span class="url-title">{$vo.title}</span>
					</a>
				</li>
			<?php } ?>	
			{/foreach}
		</ul>
	<?php } ?>
</li>

{/volist}	
</ul>